#pragma once

#include <iostream>
#include <memory>

class Debt 
{
  public:
  Debt() = default;
  ~Debt() = default;
  void buy();
  void sell();
};

using DebtPtr = std::shared_ptr<Debt>;

void Debt::buy() {
  std::cout << "买国债！" << std::endl;
}

void Debt::sell() {
  std::cout << "卖国债！" << std::endl;
}
